/*
 * program.h
 *
 *  Created on: 2012-12-1
 *      Author: Al_Ways
 */

#ifndef PROGRAM_H_
#define PROGRAM_H_

#include "stm32f10x_type.h"

void ProgramMode();
void GetCommand();
void ListCommand();
void UploadCommand(u32 address,u32 size);
void DownloadCommand();
void LdCommand(u32 address,u32 size);
void GoCommand();
void RPlayCommand(u32 nPage);
void RDownloadCommand();
void WriteOneMotionPage(u32 address,u8 pageData[512]);
void TxDData(u32 address,int size);

#endif /* PROGRAM_H_ */
